package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.DamageList;
import com.atguigu.jxc.entity.DamageListGoods;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author zhmwi
 * @Date 2021/9/5
 * @Dersciption
 */
public interface DamageListGoodsDao {

    //保存保修表
    public void saveDamageList(DamageList damageList) ;
    //保存商品报修表
    void saveDamageListGoods(DamageListGoods damageGoods);

    //查询报损单
    List<DamageList> list(@Param("sTime") String sTime, @Param("eTime") String eTime);

    //查询报损单商品信息
    List<DamageListGoods> getGoodsList(Integer damageListId);
}
